'use strict';
(function() {

    ngApp.directive("homeNav", function() {
        return {
            'restrict': 'E',
            'replace': false,
            templateUrl: "./home/directive/home-nav/view/home-nav.html",
            controller: function($scope, $element) {
                // var homeNavItems = [];
                // var allItems = $scope.AllNavItems;

                // angular.forEach(allItems, function(item) {
                //     if (item.state.indexOf("home.") == 0 && !item['hidden']) {
                //         homeNavItems.push(item);
                //     }
                // });
                // $scope.homeNavItems = homeNavItems;
            }
        };
    });


})();